package park.model;

public class StudentVO {
	// 멤버변수
	private String hakbun;		// 학번
	private String name;			// 이름
	private String address;		// 주소
	private int age;					// 나이
	private String birth;			// 생년월일
	private String depart;		// 학과
	private String professor;	// 교수
	private String interview;	// 면담
	
	public StudentVO(
			String hakbun, String name, String address,
			int age, String birth, String depart,
			String professor, String interview) {
		this.hakbun = hakbun;
		this.name = name;
		this.address = address;
		this.age = age;
		this.birth = birth;
		this.depart = depart;
		this.professor = professor;
		this.interview = interview;
	}
	
	// setter
	//private xxx yyy;
	//public void setYyy( xxx yyy ) {
	//		this.yyy = yyy;
	//}
	public void setHakbun( String hakbun ) {
		this.hakbun = hakbun;
	}
	public void setName( String name ) {
		this.name = name;
	}
	public void setAddress( String address ) {
		this.address = address;
	}
	public void setAge( int age ) {
		this.age = age;
	}
	public void setBirth( String birth ) {
		this.birth = birth;
	}
	
	// getter
	//private xxx yyy;
	//public xxx getYyy() {
	//		return yyy;
	//}
	public String getHakbun() {
		return hakbun;
	}
	public String getName() {
		return name;
	}
	public String getAddress() {
		return address;
	}
	public int getAge() {
		return age;
	}
	public String getBirth() {
		return birth;
	}
	
	@Override
	public String toString() {
		String result = "";
		result += hakbun + "/" + name + "/"
					+ age + "/" + address + "/"
					+ birth;
		return result;
	}
	
}




